<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
            font-size: 50px;
            color: yellow;
            font-weight: 700;
            text-shadow: 5px 10px 6px blueviolet;
            /* 参数分别对应 x轴 y轴 模糊距离 阴影颜色 */
        }
    </style>
</head>

<body>
    <div>
        字符阴影
    </div>

</body>

</html>